#ifndef LITERAL_H
#define LITERAL_H

#include "Expr.h"
#include "Value.h"

namespace moses
{
	
	class Literal : public Expr
	{
	public:
		MOSES_ITEM_VISITABLE()
	
		Literal(const Value &value)
		: m_value(value)
		{
		}
		
		virtual Value	Evaluate(Runtime *pEnv)	{ return m_value; }		
		Value			GetValue()				{ return m_value; }
		
	private:
		Value m_value;
	};
	
}

#endif